package org.p2psimulator.entity.protocol.messages.hibrid;

import org.p2psimulator.entity.Id;
import org.p2psimulator.entity.behavior.BehaviorTypes;
import org.p2psimulator.entity.protocol.messages.MessageTypes;

public class RequestOpinion extends HibridMessage {

	private Id referredId;


	public RequestOpinion(Id origin, Id destination, int transactionId,
			BehaviorTypes originBehavior) {
		super(origin, destination, transactionId, originBehavior);
	}

	@Override
	public MessageTypes getMessageType() {
		return MessageTypes.EIGEN_REQUESTOPINION;
	}

	@Override
	public String getName() {
		return MessageTypes.EIGEN_REQUESTOPINION.getName();
	}

	public Id getReferredId() {
		return referredId;
	}

	public void setReferredId(Id thisone) {
		this.referredId = thisone;
	}


}
